package com.yanqu.road.server.channelserver.manager.activity.entername.rank;

import com.yanqu.road.entity.player.UserBaseInfo;

import java.math.BigInteger;

public class EnterNameRank {

    private int conditionType;
    private int channelId;
    private BigInteger value = BigInteger.ZERO;
    private String param = "";
    //分组
    private int groupId;
    private long lastUpdateTime;
    //地区
    private int zoneId;

    private UserBaseInfo userBaseInfo = new UserBaseInfo();
    private long userId;

    public int getConditionType() {
        return conditionType;
    }

    public void setConditionType(int conditionType) {
        this.conditionType = conditionType;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public BigInteger getValue() {
        return value;
    }

    public void setValue(BigInteger value) {
        this.value = value;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getZoneId() {
        return zoneId;
    }

    public void setZoneId(int zoneId) {
        this.zoneId = zoneId;
    }

    public EnterNameRank clone(){
        EnterNameRank rank = new EnterNameRank();
        rank.setConditionType(conditionType);
        rank.setUserId(userId);
        rank.setUserBaseInfo(userBaseInfo);
        rank.setValue(value);
        rank.setLastUpdateTime(lastUpdateTime);
        rank.setParam(param);
        rank.setChannelId(channelId);
        rank.setGroupId(groupId);
        rank.setZoneId(zoneId);
        return rank;
    }
}
